<!DOCTYPE html>
<head>
    <meta charset="utf-8" />
    <title>教务信息系统</title>
    <link rel="stylesheet" href="/static/libs/jquery-ui-1.11.4.custom/jquery-ui.min.css"/>
    <link rel="stylesheet" href="/static/apps/ui/ui.css" />
    <script src="/static/libs/jquery.min.js"></script>
    <script src="/static/libs/jquery-ui.min.js"></script>
    <script src="/static/apps/ui/ui.js"></script>
    <script>
        
        /**
         * iframe自适应高度，height为手动设置的最小高度
         */
        function initIframeHeight(){
            var userAgent = navigator.userAgent,
                iframe = parent.document.getElementById("iframepage"),
                subdoc = iframe.contentDocument || iframe.contentWindow.document,
                subbody = subdoc.body,
                realHeight,
                realWidth,
                windowHeight = $(window).height(),
                windowWidth = $(window).width();
            //谷歌浏览器特殊处理
            if(userAgent.indexOf("Chrome") > -1){
                realHeight = subdoc.documentElement.scrollHeight;
                realWidth = subdoc.documentElement.scrollWidth;
            } else {
                realHeight = subbody.scrollHeight;
                realWidth = subbody.scrollWidth;
            }
            $(iframe).height(realHeight);
            $(iframe).width(windowWidth - 150);
        }
        
        $(document).ready(function () {
            "user strict"
            $("#iframepage").load(initIframeHeight)
            $(window).resize(initIframeHeight);
            $("#navi-menu").iNavi();
        })
    </script>
</head>
<body>
    <!-- div class="loading" id="loading"><img src="/static/apps/lhmcv/images/ajax-loader.gif"></img></div -->
    <header class="neg">
        <div class="welcome">
            <img class="system_logo" src="/static/apps/menu/lhmc_logo.png"></img>
            <p>欢迎你,<br/><span id="user_name">&nbsp;</span></p>
        </div>
        <ul id="navi-menu" class="big lhmcv-navi">
            <li><a href="/html/project/check/">项目管理</a>
                <ul>
                    <li><a href="/html/project/check/"  target="content">查看项目</a></li>
                    <li><a href="/html/project/create/" target="content">新建项目</a></li>
                    <li><a href="/html/project/modify/" target="content">修改项目</a></li>
                </ul>
            </li>
            <li><a href="/html/pay/" target="content">支出管理</a></li>
            <li><a href="#" target="content">报表管理</a></li>
            <li><a href="#" target="content">角色切换</a></li>
            <li><a href="/accounts/profile/password/">个人中心</a>
                <ul>
                    <li><a href="/accounts/profile/password/" target="content">修改密码</a></li>
                    <li><a href="/accounts/profile/" target="content">修改资料</a></li>
                </ul>
            </li>
            <li><a href="/accounts/logout/">退出系统</a></li>
        </ul>
    </header>
    <iframe class="main-body" id="iframepage" 
            frameborder="0" scrolling="no" name="content" 
            src="/static/html/index.html"></iframe>
    <div class="space"></div>
    <div class="space"></div>
</body>
</html>